<?php
include_once  'snc-core/Template.php';
class AbstractController{
	//list of all action that need layout disable
	public $tpl = true;
	function __construct(){
		$this->inIt();
	}
	public function inIt(){
		
	}	
	
	/**
	 * disable template	 
	 */
	public function disableTemplate(){
		return $this->tpl = false;
	}
	
	public function redirect($url){
		
		return " <meta http-equiv='refresh' content='0;url=" .$url."'>";
	}
}
?>